﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TheOutLetUI {

    public partial class FrmPrincipal : Form {

        public FrmPrincipal() {
            InitializeComponent();
        }

        private void cargaDeNotasFiscaisToolStripMenuItem_Click(object sender, EventArgs e) {
            FrmCargaNF frmCargaNF = FrmCargaNF.Instance();
            frmCargaNF.MdiParent = this;
            frmCargaNF.Show();
            frmCargaNF.Focus();
        }

        private void cargaDeProdutosToolStripMenuItem_Click(object sender, EventArgs e) {
            FrmCargaProduct frmCargaProduct = FrmCargaProduct.Instance();
            frmCargaProduct.MdiParent = this;
            frmCargaProduct.Show();
            frmCargaProduct.Focus();
        }

        private void cargaDePedidosToolStripMenuItem_Click(object sender, EventArgs e) {
            FrmCargaOrder frmCargaOrder = FrmCargaOrder.Instance();
            frmCargaOrder.MdiParent = this;
            frmCargaOrder.Show();
            frmCargaOrder.Focus();
        }

        private void sobreToolStripMenuItem_Click(object sender, EventArgs e) {
            MessageBox.Show("Autor: Paulo Cesar Moraes\r\nData: 11/12/2013", "Sobre");
        }

    }
}
